<div class="row">
  <div class="col-md-12">
    <nb-card>
      <nb-card-header>
        个人信息
        <toaster-container [toasterconfig]="config"></toaster-container>
      </nb-card-header>
      <nb-card-body>
        <form>
          <div class="row">
            <div class="col-sm-6">
              <div class="form-group">
                <label for="userName">用户名</label>
                <input type="text" class="form-control" id="userName" name="userName" placeholder="用户名" [(ngModel)]="user.userName">
              </div>
            </div>
            <div class="col-sm-6">
              <div class="form-group">
                <label for="nickName">昵称</label>
                <input type="text" class="form-control" id="nickName" name="nickName" placeholder="昵称" [(ngModel)]="user.nickName">
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-sm-6">
              <div class="form-group">
                <label for="email">邮箱</label>
                <input type="email" class="form-control" id="email" name="email" placeholder="邮箱" [(ngModel)]="user.email">
              </div>
            </div>
            <div class="col-sm-6">
              <div class="form-group">
                <label for="phone">手机号</label>
                <input type="text" class="form-control" id="phone" name="phone" placeholder="手机号" [(ngModel)]="user.phone">
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-sm-6">
              <div class="form-group">
                <label for="pwd">密码</label>
                <input type="password" class="form-control" id="pwd" name="pwd" placeholder="密码" [(ngModel)]="user.pwd">
              </div>
            </div>
            <div class="col-sm-6">
              <div class="form-group">
                <label for="status">状态</label>
                <input type="text" class="form-control" id="status" name="status" placeholder="状态" [(ngModel)]="user.status">
              </div>
            </div>
          </div>
          <button type="submit" class="btn btn-primary" (click)="save()">保存</button>
        </form>
      </nb-card-body>
    </nb-card>
  </div>
</div>